;;; load-paths.el -*- lexical-binding: t; -*-

(defun add-subdirs-to-load-path (dir)
  "Recursive add directories to `load-path'."
  (let ((default-directory (file-name-as-directory dir)))
    (add-to-list 'load-path dir)
    (normal-top-level-add-subdirs-to-load-path)))

;; load paths
(mapc 'add-subdirs-to-load-path `(,canary-site-lisp-dir
                                  ,canary-lisp-dir))

;; themes
(add-to-list 'custom-theme-load-path canary-themes-dir)

;; package-user-dir
(setq package-user-dir canary-site-lisp-dir)
